<?php
/**
 * Created by PhpStorm.
 * User: iyahe@qq.com (天明)
 * Date: 2017/12/3/003
 * Time: 12:30
 */


$dsn="DRIVER=Microsoft Access Driver (*.mdb, *.accdb);DBQ=".realpath("test.accdb");
$conn = odbc_connect($dsn,"","",SQL_CUR_USE_ODBC );
$rr = odbc_exec($conn,'select * from user WHERE id > 0');
$row = odbc_fetch_array($rr);
print_r($row);
odbc_close($conn);



